package cn.semes.org.domain;

import cn.semes.basic.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BaseDomain implements Serializable {


    private String username;
    private String email;
    private String phone;
    private String salt;
    private String password;
    private Integer age;
    private Integer state;
    private Long departmentId;
    private Long logininfoId;
    private Long shopId;

    // 所属部门
    private Department department;

    // 员工所属商店
    private Shop shop;

    // 二次确认密码
    private String comfirmPassword;

}
